package com.spring.shops.model.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;

@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
public class TzProdTagReference {
    private Long referenceId;
    private Long shopId;
    private Long tagId;
    private Long prodId;
    private Boolean status;
    private Date createTime;

    public TzProdTagReference(Long shopId, Long tagId, Long prodId, Boolean status, Date createTime) {
        this.shopId = shopId;
        this.tagId = tagId;
        this.prodId = prodId;
        this.status = status;
        this.createTime = createTime;
    }
}